import React from 'react';
import './App.css';
import { Input } from 'antd';
import Axios from 'axios';
import { Button } from 'antd';
import { UserOutlined } from '@ant-design/icons';
import { UnlockOutlined } from '@ant-design/icons';
import login from './views/login'
import index from './views'
import {
    BrowserRouter as Router,
    Switch,
    Route,
    Link,
    Redirect
} from "react-router-dom";


class App extends React.Component{
  constructor(props) {
      super(props);
      this.state = {
          phone: null,
          pas: null,
      }

  }


  render() {
      const router = [
      ];

    return (
        <Router>
            <Route exact path="/" component={login}/>
            <Route path="/index" component={index}/>
        </Router>
    )
  }
}

export default App;
